<%@page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="security" uri="/security" %>

<c:set var="BASE" value="${pageContext.request.contextPath}"/>
<c:set var="ERROR_MSG" value='${pageContext.request.getAttribute("errorMsg")}'/>
<html>
    <head>
        <title>用户界面</title>
    </head>
    <body>
        <h1>用户界面</h1>

        <security:user>
            <a href="${BASE}/logout">注销</a>
        </security:user>
    </body>

</html>